<html>
	<head>	
		<title>题目预览</title>
		<load href="__JS__/menu.js" />
		<load href="__JS__/leftmenubar.js" />
		<load href="__CSS__/header.css" />
		<load href= "__JS__/jshelper.js" /> 
		<script type="text/JavaScript">
			function saqtedit(id,testid){
				window.location.href="__URL__/saqtedit/testid/"+testid+"/id/"+id;
			}
			function saqtdelete(id,testid){
				if (confirm("你确定要删除吗")==true) {
					//posthelper([["id",id],],'__URL__/saqdelete');
					postwith('__URL__/saqtdelete',{id:id,testid:testid});
				}
			}
			
			window.onload=show;
		</script>
		<load href="__JS__/jQuery/jquery.js" />
       	<load href="__JS__/jQuery/jquery.form.js" />
	</head>
	<body>	
		<layout name="Auth:header" />
		<div class="nowposition">  <!--当前位置-->
			当前位置：
		
		</div>
	</div>
	<div id="container">
		<layout name="Auth:leftmenu" />
		<div class="addstudent">
			<!--显示题目-->
			<div  style="width:68%; position:relative; left:210px;">
			<a href='__URL__/testpackage/id/{$testid}'>返回组卷</a>
				<table  border="0" align="center" cellpadding="0px" cellspacing="0px">
					<load href"__PUBLIC__/js/list_show.js">
					<input type='hidden' name='testid' value='{$testid}'>
					<tbody id="tab">
						<volist name='list' id='vo' >
							<tr id="table_saq_show">
								<td style="width:150px;">第{$vo.number}题</td>
								<td style="width:150px;">{$vo.name}<br>
								<textarea name="text" style="width:300px;hight:50px;"></textarea></td>
								<td style="width:150px;">分值：{$vo.score}</td>
								<td style="width:100px">
									<a href="javascript:saqtedit('{$vo.id}','{$testid}')" style="color:#666666; text-decoration:none; font-size:12px;">编辑</a>
									<a  href="javascript:saqtdelete('{$vo.id}','{$testid}')" style="color:#666666; text-decoration:none; font-size:12px;">删除</a>
								</td>
						</volist>
					</tbody>
				</table>
				<div align="right" class="green-black" style="width:900px; position:relative; top:20px; left:-35px;">
					{$page}
				</div>
		</div>
		</div>
	</body>
</html>